import request from '@/utils/request'
import defaultSettings from '@/settings'
import { praseStrEmpty } from '@/utils/ruoyi'

// 清算城市商业银行汇票资金申请录入
export function applicationCityCommercialBankdraftEntrySave(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/cityCommerBankdraft/settlementMoney/applicationCityCommercialBankdraftEntry/save`,
    method: 'post',
    data:data
  })
}


//清算城市商业银行汇票资金申请审核
export const apiUrlConfigApproveQuery = {
  queryUrl: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/cityCommerBankdraft/settlementMoney/applicationCityCommercialBankdraftApprove/search`,
}

// 清算城市商业银行汇票资金申请审核通过
export function applicationCityCommercialBankdraftApproveApprove(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/cityCommerBankdraft/settlementMoney/applicationCityCommercialBankdraftApprove/approve`,
    method: 'post',
    data:data
  })
}

// 清算城市商业银行汇票资金申请审核通过
export function applicationCityCommercialBankdraftApproveReject(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/cityCommerBankdraft/settlementMoney/applicationCityCommercialBankdraftApprove/reject`,
    method: 'post',
    data:data
  })
}

//清算城市商业银行汇票资金申请查询
export const apiUrlConfigQuery = {
  queryUrl: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/cityCommerBankdraft/settlementMoney/applicationCityCommercialBankdraftQuery/search`,
}
